<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
		<meta charset="UTF-8">
		<title>商品详情信息</title>
		<link rel="stylesheet" type="text/css" href="./bootstrap-3.3.5/css/bootstrap.css">
		<script type="text/javascript" src="./js/jquery-1.11.3.js"></script>
		<script type="text/javascript" src="./bootstrap-3.3.5/js/bootstrap.js"></script>
	</head>
	<style>
	body
	{
		background-color:#d0e4fe;
	}
	</style>
	<body style=" padding-top: 100px;">
		<div class="container">
			<jsp:include page="../../header.jsp"></jsp:include>
		<div class="row">
				<div class="col-md-3">
				</div>
				<div class="col-md-6">
					
					<h2 class="page-header">
					<img class="img-thumbnail" src="http://localhost:8080/csustwebpro/${user.picture }" width="220px" height="220px" >
					${user.name }		
					${user==null?"商品不存在":""}			
					</h2>
					<table class="table table-striped table-hover">
						<tbody>
							<tr>
								<td>价格：</td>
								<td>${user.age }</td>
							</tr>
							<tr>
								<td>尺码：</td>
								<td>${user.sex }</td>
							</tr>
							<tr>
								<td>售后热线：</td>
								<td>${user.phone }</td>
							</tr>
							<tr>
								<td>生产住址：</td>
								<td>${user.address }</td>
							</tr>
							<tr>
								<td>相关介绍：</td>
								<td>${user.intro }</td>
							</tr>
							<tr>
								<td>评价：</td>
								<td>${user.recommend==0?"一般":"非常好，值得购买！" }</td>
							</tr>
							
						</tbody>
					</table>
					<a href="javascript:void(0)" onclick="history.go(-1)" class="btn btn-danger btn-xs">返回</a>
					
				
				</div>
				<div class="col-md-3">
				</div>
		</div>
		</div>
		
		<!-- 尾部 -->
		<hr style="margin-top: 100px;">
		<%@include file="../../footer.jsp" %>
	</body>
</html>